Command
└─Help
public class Help
extends Command
Method Summary | |
---|---|
protected void | 配置指令 |
void | setCommand(Command command) Sets the command. |
protected null|int | execute(Input input, Output output) 执行指令 |
Methods inherited from think\console\Command | |
---|---|
__construct, addArgument, addOption, addUsage, configure, execute, getAliases, getConsole, getDefinition, getDescription, getHelp, getName, getNativeDefinition, getProcessedHelp, getSynopsis, getUsages, ignoreValidationErrors, initialize, interact, isEnabled, mergeConsoleDefinition, run, setAliases, setCode, setConsole, setDefinition, setDescription, setHelp, setName |
protected void configure()
配置指令
public void setCommand(Command command)
Sets the command.
protected null|int execute(Input input, Output output)
执行指令